using System;
using TinyMoney.Domain.Interfaces;

namespace TinyMoney.Domain
{
    public class BankBranch : IBankBranch
    {
        public Guid Id { get; private set; }
        public IBank Bank { get; private set; }
        public ILegalEntity Branch { get; private set; }

        public BankBranch(Guid id, IBank bank, ILegalEntity branch)
        {
            Id = id;
            Bank = bank;
            Branch = branch;
        }
    }
}